package cn.stylefeng.guns.modular.basic.mapper;

import cn.stylefeng.guns.modular.basic.entity.BasicCarrierLine;
import cn.stylefeng.guns.modular.basic.model.params.BasicCarrierLineParam;
import cn.stylefeng.guns.modular.basic.model.result.BasicCarrierLineResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 承运商线路关联表 Mapper 接口
 * </p>
 *
 * @author like
 * @since 2024-10-10
 */
public interface BasicCarrierLineMapper extends BaseMapper<BasicCarrierLine> {

    /**
     * 获取列表
     *
     * @author like
     * @Date 2024-10-10
     */
    List<BasicCarrierLineResult> customList(@Param("paramCondition") BasicCarrierLineParam paramCondition);

    /**
     * 获取map列表
     *
     * @author like
     * @Date 2024-10-10
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BasicCarrierLineParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author like
     * @Date 2024-10-10
     */
    Page<BasicCarrierLineResult> customPageList(@Param("page") Page page, @Param("paramCondition") BasicCarrierLineParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    /**
     * 获取分页map列表
     *
     * @author like
     * @Date 2024-10-10
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BasicCarrierLineParam paramCondition);

}
